package cn.shuai.dao;

import java.util.List;

import cn.shuai.entity.Emp;

public interface EmpDao {
	List<Emp> searchAll();
	
	Emp searchById(int empNo);
	
	List<Emp> searchBySalAndDeptno(Emp emp);
	
	List<Emp> searchEmpAndDept(Emp emp);
	
	int addEmp(Emp emp);
	
	int updateEmp(Emp emp);
	
}
